package com.dfbz.demo;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo04_静态代码块 {
    public static void main(String[] args) {
        new A();      			// 1,3,2
        new A();          		// 3,2
    }
}

class A {
    static {
        System.out.println("1");
    }
    public A() {
        System.out.println("2");
    }
    {
        System.out.println(3);
    }
}
